package oop9;

import oop6.pet2.Pet;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetMarketTest {
    public static void main(String[] args) {
        PetMarket m=new PetMarket("裕丰花鸟鱼虫市场");
        Pet pet = m.sell(30000000);
        if(pet==null){
            System.out.println("没买到，钱不够");
            return;
        }
        System.out.println("买到了宠物："+pet);
        pet.print();
    }
}
